added clientIDCounterLock