setImmediate workaround
setImmediate workaround