Fixed resume bug in node 0.10.x