For anyone else wondering, there appeared to be a bug which caused the sessions to end earlier then expected.
It should be fixed in 9.6.11 and 9.12.0 .
Update: Eventually the fix was not related to this specific issue. Currently there seems to be no way to keep the session of on online PWA user alive for a long period.