need to fix the bug where defer close.conn is calling is_client_disconnected thingy