Use cleanup onExit instead of process.on('exit', )