Previously, the child process could be deleted from its own
handleConnectionLost() callback, which would attempt to stop the child
process's thread from that same thread.
Now, the demo will attempt to stop the coordinator thread from the main
thread instead.