Core::RunAsCPUThread may be called from Qt signals, and if code yields to UI there then it results in infinite recursion