Fix asyncio ``loop.sock_*`` race condition issue