process next tick to setImmediate