Set result in bg thread, otherwise QT impl hangs