Removed unnecessary synchronization that creates excessive contention when under high load and logging is disabled.