Impress presentation hangs after about 15 minutes

I have several presentations (2 specifically) running on Raspberry PIs that both “hang” after about 15 minutes or so. Both are configured to run continuously, with 2-3 second delays between slide transitions.

Currently running on Raspberry PI, Debian 11.2 with libreoffice 7.0.4-4+rpi1+deb11u1.

In trying to figure out what was hanging, I used strace to find out what the program is doing. In all cases when it hangs, it is stopping on calls to _newselect, generally similar to the following:

_newselect(9, [6 8], NULL, [8], {tv_sec=1254786, tv_usec=202252}

The timeout is like 14 DAYS, where I would expect it to be 2-3 seconds for most slides. The full presentation is only a few minutes, and it always seems to stop at about 15 minutes or so.

This seems to happen with multiple presentations.

Any thoughts, or additional information I can provide?

No solution
I have no solution for you. But maybe this description will help you with troubleshooting:
First steps

This looks to be your issue
https://bugs.documentfoundation.org/show_bug.cgi?id=128715
Please have a look

Then updating LibreOffice to 7.2.4/7.3/7.4 or newer should solve the problem as well as using a 64bit-distribution.