successfully open and close client socket after deploying