close client socket