add api timeout attr

Sometimes the Sumologic API is slow to respond.  This allows optional timeouts with back off retries on the API calls.
dont rescue arbitrary stuff., rescue specific error, log accordingly. split this method in logical parts, like a method for dealing with http stuff and the retry logic in separate  method. that will also fix the rubocop issue.