e552920f09
recv on UDP sockets is not interrupted when the socket is closed. Additionaly, signals do not interrupt kernel threads, that is why new function interrupt_thread was implemented in order to cancel listener thread.