Removed clientActivityCountLock