Move ApiServerSetColorTask to QtUtils::ThreadedObject.