Remove waiting for unfinshed jobs in ConstructorFinishedSuccessfullyTest. Fixes #866
Stabilizes wating when closing Preferences Dialog. Fixes: #867