This fixes "QObject::startTimer: Timers cannot be started from another thread" (cherry picked from commit 8f164924)