Pages randomly switch to loading spinner after already showing content normally for a few minutes
### Node Version

20.18.2

### NPM/Yarn/PNPM Version

Yarn 1.22.22

### Strapi Version

5.9.0

### Operating System

Linux (Host: openSUSE Leap 15.6, app running in docker container under Alpine 3.21)

### Database

PostgreSQL

### Javascript or Typescript

Javascript

### Reproduction URL

_No response_

### Bug Description

After loading successfully and letting a page sit for a few minutes, the page may randomly switch to a loading spinner that never completes. Only refreshing the page brings back the content.

First visit:

![Image](https://github.com/user-attachments/assets/53b69538-65e0-4283-a480-8437d2daa547)

After 1-3 minutes of the page just sitting (seems pretty random):

![Image](https://github.com/user-attachments/assets/7a130d5b-1bb9-45cd-bdb1-cca306d67926)

The screenshots use a collection type page, but I've seen it happen on various other pages throughout the app (such as in the settings pages). It also doesn't happen every time; it seems very random, although it does seem to happen more frequently when the page is completely inactive (i.e. haven't interacted with the page for several minutes).

I also monitored the console and network requests in my browser during the switch to see if there might be some request or something logged that might indicate the issue, but there is nothing logged and no network requests made between the page loading successfully and switching to the loading spinner. Nothing in the server logs either.

This instance was also recently upgraded from 4.25.20 to 5.9.0. Not sure if this might have something to do with it.

If other people aren't able to reproduce this I can perhaps try making a skeleton reproduction of our app and posting it. Not sure if anyone else is seeing this since I don't see another issue on it.

### Steps to Reproduce

1. Visit any page that contains a potential loading state
2. Just let the page sit for a few minutes after loading
3. Observe it switch from the content to the loading spinner

If it doesn't happen after 1-3 minutes, you might need to refresh the page and try again.

### Expected Behavior

Pages should not randomly switch from content to loading state

### Confirmation Checklist

- [x] I have checked the existing [issues](https://github.com/strapi/strapi/issues) for duplicates.
- [x] I agree to follow this project's [Code of Conduct](https://github.com/strapi/strapi/blob/develop/CODE_OF_CONDUCT.md).