Use setImmediate if available.

Node will throw on recursive nextTick. Also, more perf.