locks exhaustion fix