Test exhaust cursor.
Use Tornado 3’s Resolver API instead of getaddrinfo.