Fix critical section and define slot full errors