Fix some new thread-safety checker warnings.
Pipeline #4522250 passed
Pipeline passed for 046ca730 on ssnyder:thread-new.StoreGate-20220922 2 years ago