The function will return when all futures finish or are cancelled.
asyncio/ALL_COMPLETED
ALL_COMPLETED