diff --git a/src/utils/subscription-registry.js b/src/utils/subscription-registry.js
index <HASH>..<HASH> 100644
--- a/src/utils/subscription-registry.js
+++ b/src/utils/subscription-registry.js
@@ -116,8 +116,9 @@ class SubscriptionRegistry {
   }
 
   _onSocketClose (socket) {
-    for (const name of this._names.get(socket) || []) {
-      this.unsubscribe(name, socket)
+    const names = this._names.get(socket) || new Set()
+    for (const name of names) {
+      this.unsubscribe(name, socket, true)
     }
   }
fix(subscription-registry): silent unsub on close.