The asnwer to this behavior is here - https://docs.mendix.com/refguide5/keep-alive-mechanism-for-persistent-sessions .
Keep alive mechanism for Persistent Sessions
Persistent Sessions used to store a ‘last active’ date upon each request. This is a known performance bottleneck. To improve this particular aspect of the performance, the ‘last active’ date attribute of a session is no longer committed to the database immediately on each request. Instead, this information is remembered until the time the ClusterManagerAction runs. This action verifies whether the session has not been logged out by another instance and whether the last active date is more recent than the one in the database.