diff --git a/src/network/async.js b/src/network/async.js
index <HASH>..<HASH> 100644
--- a/src/network/async.js
+++ b/src/network/async.js
@@ -203,7 +203,6 @@
                 socketState = socketStateType.CLOSED;
                 fireEvent("stateChange", {
                   socketState: socketState,
-                  // timeUntilReconnect: 0,
                   deviceRegister: isDeviceRegister,
                   serverRegister: isServerRegister,
                   peerId: peerId
@@ -572,6 +571,8 @@
         peerId: peerId
       });
 
+      reconnectOnClose = false;
+
       socket.close();
     }
Debugging Reconnec After Close