I wonder if the difference is calling process.exit() from outside the process, vs in the process itself...