Using async.setImmedidate for 0.8 compatibility.