Limitation of Using process.exit() with Node.JS