Made setImmediate the first choice for deferring when available