Revive dead thread?

I’m working on my first bigger sp project, and I have 8 live loops running on my raspberry pi. Every so often, one of them will die (timing exception). This doesn’t happen on my laptop, so I’m guessing this is just a limitation of the Pi. If I just click run again, then the dead threads re start. Is there a way to automatically re-start threads when they die?

Many thanks for any advice!