To solve this you need to build your own functionality in the flow like this:
The flow should determine based on a variable from which step to start the process - this is a simple switch
Now where to store the variable value - In the Queue Item in the ItemInformation
At first the item will have 1 as step value. If you encounter any error you should set the item status to Fail and insert a new item in the queue with the same characteristics but with the corresponding step you want to execute and priority HIGH to be the next on the list.
You will lose the item tracking due to duplication but you solve the step problem. pay attention on the Queue settings to allow duplications and not to perform retry.