Avoid races during token retrieval.