close the client socket when the client program quit, line 421