_groups is a static so could there be a race condition? It's a ConcurrentDictionary but these are two separate atomic operations.