_onExit = function () {
    if (!exports.clean_exit) {
        console.log(red(bold('Failed')));
        process.removeListener('exit', _onExit);
        process.exit(1);
    }
}
Display a failure message if exit is unexpected.