sockets will be closed, after a thread handled them