When using DeleteOnClose with a QQuickWidget, the shutdown sequence causes the MainWindow destructor loop back onto itself.