Make asyncio.all_tasks() return only pending tasks.