Made shutting down nodes non-blocking.
Merge pull request #198 from pedrolf/master

Made shutting down nodes non-blocking.