[fixes #66] Use setImmediate when available, which fixes newer node's