Fix crash on closing Krita when there is something in the clipboard
It seems like Qt requests mime contents of the clipboard on exit.
But by the time it requests the stuff, Krita's KisApplication is
already dead, therefore we can use neither signals nor timers.
CCBUG:384941