call setImmediate on process.exit to allow the kill() cb to complete