def do_something_periodically():
    tasks = []
while True:
    tasks.append(asyncio.async(my_expensive_operation()))
When using asyncio, how do you allow all running tasks to finish before shutting down the event loop