diff --git a/app/modules/ws2p/lib/WS2PCluster.ts b/app/modules/ws2p/lib/WS2PCluster.ts
index 6588f032b1d2559a0967e0f6caed69318c435d4c..8c36f0cd0e6e6b73f313fcc6e5573a8f37bc2814 100644
--- a/app/modules/ws2p/lib/WS2PCluster.ts
+++ b/app/modules/ws2p/lib/WS2PCluster.ts
@@ -278,9 +278,12 @@ export class WS2PCluster {
 
   clientsCount() {
     let count = 0
+    let connectedKeys:string[] = []
     for (const ws2pid in this.ws2pClients) {
-      if (this.ws2pClients[ws2pid].connection.pubkey != this.server.conf.pair.pub) {
+      if (this.ws2pClients[ws2pid].connection.pubkey != this.server.conf.pair.pub
+        && connectedKeys.indexOf(this.ws2pClients[ws2pid].connection.pubkey) == -1) {
         count++
+        connectedKeys.push(this.ws2pClients[ws2pid].connection.pubkey)
       }
     }
     return count