fix close socket, node-v0.8.20