docs: void unregisterKvState(KeyGroupRange keyGroupRange) {
  		if (keyGroupRange.getStartKeyGroup() < 0 || keyGroupRange.getEndKeyGroup() >= numKeyGroups) {
  			throw new IndexOutOfBoundsException("Key group index");
  		}
  
  		for (int kgIdx = keyGroupRange.getStartKeyGroup(); kgIdx <= keyGroupRange.getEndKeyGroup(); ++kgIdx) {
  			if (kvStateIds[kgIdx] == null || kvStateAddresses[kgIdx] == null) {
  				throw new IllegalArgumentException("Not registered. Probably registration/unregistration race.");
  			}
  
  			numRegisteredKeyGroups--;
  
  			kvStateIds[kgIdx] = null;
  			kvStateAddresses[kgIdx] = null;
  		}
  	}