Accoding to libcurl API, timeout_ms
< 1000 is not allowed when using standard name resolver.
CURLOPT_TIMEOUT_MS
An alternative to CURLOPT_TIMEOUT but takes number of milliseconds instead. If libcurl is built to use the standard system name resolver, that portion of the transfer will still use full-second resolution for timeouts with a minimum timeout allowed of one second.