#9280: fix Qt::deleteLater is not called in thread without eventloop

From Qt documentation:

void QObject::deleteLater() [slot]
... Since Qt 4.8, if deleteLater() is called on an object that lives in
a thread with no running event loop, the object will be destroyed when
the thread finishes.