Made shutting down nodes non-blocking.

ptal
This runnable needs to call a method on the NodeMainExecutor that takes the mutex. As is, nodeListeners and nodeMains could change while shutting down.