Currently getaddrinfo early-exits, but I'm thinking to keep the query process running in the background until the true timeout is reached. This way, more results will be cached and available for the application to use.
The getaddrinfo will still early-exit on the first result, and the +50ms adjustment will probably be removed.
Originally posted by @vshymanskyy in #4 (comment)