def _cleanup_tokens(self, children, max_token):
		for child in children:
			token_id = pettingzoo.utils.counter_value(child)
			if token_id < max_token:
				get_logger().warning(
					"DistributedBag._cleanup_tokens %s" % (token_id))
				try:
					self.connection.adelete(
						id_to_token_path(self.path, token_id))
				except zookeeper.NoNodeException:
					pass # If it doesn't exist, that's ok
Tokens are used to track the current max token only.  This
dataset/ETHPy150Open Knewton/pettingzoo-python/pettingzoo/dbag.py/DistributedBag._cleanup_tokens