IGNITE-9555 Web Console: Fixed handling of unexpected closed sockets.
diff --git a/backend/app/browsersHandler.js b/backend/app/browsersHandler.js
index 680e340..919b1f0 100644
--- a/backend/app/browsersHandler.js
+++ b/backend/app/browsersHandler.js
@@ -130,7 +130,12 @@
             clusterChanged(account, cluster) {
                 const socks = this._browserSockets.get(account);
 
-                _.forEach(socks, (sock) => sock.emit('cluster:changed', cluster));
+                _.forEach(socks, (sock) => {
+                    if (sock)
+                        sock.emit('cluster:changed', cluster);
+                    else
+                        console.log(`Fount closed socket [account=${account}, cluster=${cluster}]`);
+                });
             }
 
             pushInitialData(sock) {