Fix the ssl check for asyncio