diff --git a/deploy_app.sh b/deploy_app.sh
index 783b2a99c0b302944c2747a472c10dd637382069..1823657db81926826b60d950c7b76427a057aad2 100755
--- a/deploy_app.sh
+++ b/deploy_app.sh
@@ -116,7 +116,12 @@ function deploy(){
     typeset -i local isupdate=$defaultupdate
     ${selfdir}/bin/getfile.sh -f ${IMLCI_PROJECT}.tgz -o ${downloadtmp}
     if [ $? -ne 0 ]; then
+        echo Download failed.
         echo Repeating request with debug param -d to get the error...
+        
+        # added sleep to repeat the request with another hashed secret
+        sleep 2
+        
         ${selfdir}/bin/getfile.sh -d -f ${IMLCI_PROJECT}.tgz -o ${downloadtmp}
         exit 1
     fi