Change sleep behaviour when curl_multi_wait() returns immediately

Increase usleep() timeout when curl_multi_wait() returns and if it
happens more than 2 times in a row, fall asleep for consequently longer
timeouts, but less than maximal value (100ms).

Fix debug message.