diff --git a/bbb-echotest-autojoin.user.js b/bbb-echotest-autojoin.user.js
index ffd0429c8221a810d865a0cde661bb7705b61ffe..1122e4410203e3082066af75a19075c24c7cec58 100644
--- a/bbb-echotest-autojoin.user.js
+++ b/bbb-echotest-autojoin.user.js
@@ -52,15 +52,23 @@ function isMuted() {
 
         // Force mute for 2.5 seconds after joining
         while (new Date() - tStart < 2500) {
+
             // Ensure that the microphone is muted after joining
-            while (isMuted() != true) {
+            while (isMuted() == false) {
                 getMuteButton()?.click();
-                await sleep(100);
+                await sleep(500);
             }
 
             await sleep(100);
         }
 
+        // Ensure that the microphone is muted after joining
+        while (isMuted() == false) {
+            getMuteButton()?.click();
+            await sleep(500);
+        }
+
+
         // Increase the waitTime after the initial connection
         waitTime = 500;
         await sleep(waitTime);