diff --git a/setup.sh b/setup.sh
index c051361b0e1d68fc88651c3ca9cea3a8172137ae..f7bf6a886f7485f65ab883b12c80e8521dcc00c6 100755
--- a/setup.sh
+++ b/setup.sh
@@ -15,7 +15,7 @@ function remove_all_configs() {
 # Clone repositories
 function clone_repositories() {
     git clone $LETSENCRYPT_URL
-
+    wait
 }
 
 function configure_letsencrypt() {
@@ -64,6 +64,7 @@ clone_repositories
 
 if [ "$USE_JITSI" == "true" ]; then
     git clone $JITSI_URL
+    wait
     ./"$JITSI_DIR"/setup.sh
 fi
 
@@ -71,6 +72,7 @@ configure_letsencrypt
 
 if [ "$USE_MUMBLE" == "true" ];then
     git clone $MUMBLE_URL
+    wait
     configure_mumble
 fi