Prefer setImmediate to process.nextTick.