Terminate acceptor worker when ClientSocket is closed