diff --git a/src/conn_http.cpp b/src/conn_http.cpp
index 2d724dbd..1311d368 100644
--- a/src/conn_http.cpp
+++ b/src/conn_http.cpp
@@ -334,6 +334,8 @@ int main(int argc, char ** argv){
         delete T;
       }
       Connector_HTTP::thread_mutex.unlock();
+    }else{
+      usleep(100000);//sleep 100ms
     }
   }//while connected and not requested to stop
   server_socket.close();