Remove an incorrect LeaveCriticalSection.