Use different thor API that works with older versions. [fixes #54391580]