Version 21.18 Crashes on long rides

I have been doing longer and longer rides lately. Every ride that’s longer than 2 hours it crashes at least once. Luckily I don’t lose my workout but it’s quite anything as when it restarts I have to press start again. I obviously lose the data between the crash and restarts.