Issue with Wait Node

I am building a workflow, where I have HTTP request node which uses a third party API to crawl the data, then after this there is a wait node(5 sec) and then an other HTTP request Node to Get the data, and then there is a IF node , and if there status is completed the workflow continues to some other node, and on the false branch it loops back to a wait node and then HTTP request (get data), on the first run it runs fine but when there is a second run it gives me the error, task_id not found,.

please help me resolve the error!
Thanks!

Please share your workflow using </> button here. If you pin some data from HTTP requests this could be really helpful.


When The IF statement goes for False branch and flow goes back to the wait then HTTP request 2 gives me error, when I am waiting for the status to become completed from pending/processing. Why is that so? it should not be giving the error. IT says Task_Id not found.


The details of HTTP request node after the error