// The thread object lives in the main thread and soap_thread->wait() never ends
// since the thread's finished() signal is enqued but never processed.
// So we need to do this instead:
// This ensures that the finished() signal
// will be processed by the thread object