src: use explicit setImmediate not global