Automatic Logout while restoring

While restoring from backup my user is automatically logging out and not able to login showing read only mode enabled, but still after some time, same behavior

After 15 minutes showing Login is disabled.