[fix] Addon update deadlock due to race condition resulting from a CThread (CBusyWaiter) being on the stack getting destroyed prior to the actual thread exiting.
Merge pull request #5395 from jimfcarroll/addon-update-deadlock

[fix] Closes #15423 Addon update deadlock due to race condition deleting CThread