fix hanging problem in node@0.10.x

a few tests wouldn't complete in the latest version of node. One, I think, was just a problem with the test. The others though were nodes fault. Note: other tests will now fail in node@0.8.x