fix asyncio imports in python 3.4

`iscoroutine` is part of `asyncio`

https://docs.python.org/3/library/asyncio-task.html#asyncio.iscoroutine