async def async_to_list(aiter):
	"""
	Convert an asynchronous generator to a simple list.
	"""
	# Can't do this until Python3.6 ...
	# https://www.python.org/dev/peps/pep-0530/
	# return [i async for i in aiter]

	res = []
	async for i in aiter:
		res.append(i)
	return res