Disallow closing Krita while it initiates saving
Do not close Krita while KisMainWindow has the savingEntryMutex locked
(while the background saving process is being initiated). After the
background saving job is initiated, KisDocument blocks closing while it
saves itself.
CCBUG: 409395