Add setimmediate to get 0.8 compatibility.