Socket.IO server hangs up-Collection of common programming errors

The good news is that you’re no longer leaking memory. The bad news is that you do indeed need to add error listeners to your objects.

In most apps, you can usually treat ECONNRESET as roughly the same as a graceful close. Just make sure that you actually stop using that socket, since it’s now closed. However, it’s not a graceful close, since it’s not in any sense “graceful”. Prior to v0.8.20, node would happily buffer all writes to reset sockets, causing memory explosion death.