Fix Intermittent Server Exception on Client Disconnect

Fixing a bug in the TCP server code trying to send a message to a disconnected client if the callback function is slow.

cc @squamos