We have a "thundering herd" issue that exists for an issuer that has never been seen. The "refresh mutex" in scitokens_internal.cpp only works with renewal of known issuers.
Create either a global lock for new issuers or a lookup table of a lock-per-issuer. If the latter is done, make sure to have a mechanism to prevent resource exhaustion from an attacker that can create an infinite number of issuers.