Debug, socket close for client