#21126 - Worker thread now waits for completion when stopped to avoid
crash bug when gc'd qt objects are referenced by the thread!