I solved by inserting a pause in the Sub Complete of the HttpJob class of the iHttpUtil2 library.
The pause can not be accomplished with the Sleep because it goes up one level and generates other errors, so I have worked to stop the flow of the program
Unfortunately I can not reveal how I made this break .... just know that it
works or almost. Sometimes it still generates an error in debug mode.
Public Sub Complete (res1 As HttpResponse)
Response = res1
#IF B4I AND DEBUG
log("PAUSE 300")
' .................
' .................
' .................
#End If
CallSub2(target, "JobDone", Me)
End Sub
I lost a whole day of work for this nonsense.