Automatically Restart Duplicati when it Crashes

I’m referring to crashing, but in the other thread, I’m referring to the stalling issue. When it stalls it is always at 2 points: Verifying files or deleting old backups. Both show that they continue with a call every so often, but then they just get to a point where they do nothing for days. I have posted a screenshot of the profiling live log when it has stalled in the other thread: