Probably it starts with some connection problem: `readyState` is set to 2 (CLOSING) and `close` event is never fired. Is this expected?