[Echo.StreamServer.API.WebSockets] handle use case when updating connection provided with error;
[WebSockets] proper way to clear events