Converting the ErrorHandlerMutex to a ManagedStatic to avoid the static constructor and destructor.