closing client socket on server