acquire: Fix critical section exit