[test] fix close test for node v0.11