Chris, This timeout is controlled by your clients oAuth client inside of pureCloud. You can set the “ Token duration” to control this timeout. I would recommend roughly 18hours as this typically allows the for token to expire after the agent finishes their shift.
In our experience the PEF auto refreshes fine most of the time. However separate from the 18hr oauth timeout/refresh window, it also will sometimes log themout completely