move client socket close