process.on('SIGTERM', function sigterm() { trace('terminated, exit'); process.exit(); });
process.on('uncaughtException', function uncaughtException(err) { trace(err); console.error(err.stack); });