Use set immediate for node 0.10+, v0.2.4