I know the ProcessQueue module automatically retried failed jobs. Make sure the Microflow that performs the queued action ends in Error or boolean False to activate the retry mechanism.
TaskQueue (mx9) can not do this (yet):
I don’t know if a wait function is available in your case.
What you can eventually do is to take the time of the fail. Then with a schedule event (with an interval of 1 minute), you will first check if a fail occurred, if it does you will compare the time of the fail to the current time, if it’s the same minute, you are doing your process again.