Close client socket