fixed ClientSocket.c: don't close socket on close_socket() - only mark it as "closing"