As we still support 3.5..3.7, we need to catch the case that asyncio.get_running_loop and asyncio.all_tasks are not yet available. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
As we still support 3.5..3.7, we need to catch the case that asyncio.get_running_loop and asyncio.all_tasks are not yet available. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>