curl_multi_timeout might return -1

Docs say that in this case 'You must not wait too long (more than a few seconds perhaps) before you call curl_multi_perform() again'