in reply to Socket problem

I found this node that might shed some light on how you can determine if a client has disconnected: io::select bogs cpu on disconnect. This node deals with similar issues: Help with socket connections.

Hope this helps!