Hi Sim;
There are many possible timeouts in the N-Tier processing model in both the middle tier & DBMS tiers. IMHO, the best way around all of these & not to arbitrarily change these settings that could appear other App threads is to implement a "heart beat" feature.
You can see such an implementation in my STD framework (since the 2018 release). Have a look at the OrderEntry Demo App built from the framework to see this feature in operation. It works for standard C/S, PiwerClient & PowerServer based applications.
FYI: http://chrispollach.blogspot.com/2018/02/ifc2018r1.html
Regards ... Chris
In addition to Armeen's good point, I would also look at implementing an inactive PS App feature. This is easy to implement using the Application object's Idle Event. This allows the App to close and more importantly, free up a PowerServer session to keep your runtime license quota in check. Food for thought.
Regards ... Chris