fix close socket, node-v0.8.20
fix close socket, node-v0.8.20