Closes the client socket.
Performing the operation on a client that has already been closed has no
effect; doing so is not an error.
All other operations on a closed client will fail with an exception.