Indeed the logs don't show that the callback is executed. I checked quickly and the callback is set for execution.
For now I will push a patch based on your changes to reset the flags if the retry interval is reached.
In long term, I may add a second callback for the event when transaction is destroyed to catch the situation when transaction completed is skipped.
—
Reply to this email directly or view it on GitHub.