Remove slow and leaking var_AcquireMutex