Posit Cloud Closing Standalone App

I am using Posit cloud to run my app when teaching class and RStudio on the desktop. The idea is to teach students how to use R as well as have the app available to show them how to use that.

After a few minutes the app disappears. Posit cloud is still listening, but the app is nowhere to be found. I have to interrupt R and restart the app.

It doesn't look like Posit is timing out, just the app disappearing.

Any ideas?

This is a long shot but have you tried increasing the "background execution limit"?

I have not modified it, but it is set at one hour. It closes after a few minutes though and the cloud RStudio keeps listening on the local IP.