Here is check for only closing
state. https://github.com/socketio/engine.io/blob/master/lib/socket.js#L382
But if Socket
has closed
readyState and somebody try to send something to this socket. Data remains in this.writeBuffer
and eats memory.
