From [RFC6455 §1.4](https://tools.ietf.org/html/rfc6455#section-1.4): > After sending a control frame indicating the connection should be closed, a peer does not send any further data Current implementation does not obey this rule.