Only hijack process.exit if mocha is being run via _mocha