When syncing a lot of file and hitting CTRL+C to force-quit the application, this will not work. At least, not quickly.
Qt does not process queue events until the synchronizer gave up. And it may take some time.
After calling QApplication.quit(), we should also call QApplication.processEvents() to process remaining Qt events and finally close the application.