Prefer process.exitCode over process.exit() in Node.js

process.exit() looks explicit, but it can terminate a Node.js process before pending work has finished. Prefer process.exitCode and let Node.js shut down naturally.