Fixes for node v0.10.x and timeouts.