Websocket auto reconnect and safe digest on every event