Cleanup tests to be compatible with production version of asyncio.