EmClient rebuilds database after Sleep

When my desktop Windows 11 goes into Sleep while eMClient was still open then I wake the system, eMClient often, but not always, says it has to rebuild the database because of a corrupt shut down of the program.

Version 10.0.3266 (7060eea)
Wired Keyboard
Wireless mouse
Wired Tablet

It can happen if the database is unavailable when the device wakes. For example if it is on a disk that takes longer to wake up than the one where the OS is installed. eM Client won’t have access to the database on wake, and it will crash.

It can also happen with some types of sleep configurations where the OS actually terminates the application on sleep and restarts it on wake. The ungraceful termination will break the database and it will need to be checked on start.