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