Fix "QObject::startTimer: timers cannot be started from another thread"