fix timeouts less than 1 sec when libcurl is compiled without c-ares