added stop method to client socket to enable stoping/closing the client connection