+ this.conn = new WebSocket(url + "/?sid=" + this.myid + "&page=" + variant._id);
+ const socketCloseListener = () => {
+ this.conn = new WebSocket(url + "/?sid=" + this.myid + "&page=" + variant._id);
+ }
+ this.conn.onclose = socketCloseListener;
+