Use asap instead of setImmediate shim