Don't acquire the mutex during the destructor of PassRegistry.