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