hook immediately when no buffer is set
fix setTimeout() with node v0.10.30