exiting a node.js process *and flushing stdout and stderr*
github.com/joyent/node-exeunt
joyent/node-exeunt