* remove uncaught exception handler
* handle SIGINT, SIGTERM
* use process.stdout to write messages out