If the socket is destroyed, node.js from 0.8.20 version will raise an error

If the socket is destroyed, node.js from 0.8.20 version will raise an error here.