If you are not redirected automatically, follow this
link to getdns_return_t getdns_context_set_idle_timeout(getdns_context *context, uint64_t timeout)
.