Made shutting down nodes non-blocking.

ptal