closing sockets for the server