diff --git a/code/infrastructure/streaming/clients/sub/memgraph/sub_mem.py b/code/infrastructure/streaming/clients/sub/memgraph/sub_mem.py
index 592eae6e980188610c4625111eca0cfdff452053..b431ff023972aec9749a85586a0989d9ab1db212 100644
--- a/code/infrastructure/streaming/clients/sub/memgraph/sub_mem.py
+++ b/code/infrastructure/streaming/clients/sub/memgraph/sub_mem.py
@@ -267,7 +267,7 @@ client.loop_start()
 # this try-finally block ensures that whenever we terminate the program earlier by hitting ctrl+c, it still gracefully exits   
 try:
     i = 0
-    while i < abort_time_limit and client.failed_connect == False:
+    while i < abort_time_limit: #and client.failed_connect == False:
             time.sleep(1)
             i += 1
             if client.failed_connect == True: