Timeout when data can't get sent

We have been seeing scollector hang in the send loop, and assume it's in
the http request part. This prevents the cleanup function from running,
resulting in memory consumption. But worse, scollector stops sending data.
This change should fix the timeout, which should allow the cleanup to
occur normally.