Figured out retries for API calls
Figured out retries for API calls

If there's a network error, the SOAP::Lite call fails, so we use an eval in _doCall().
If the error is on the server, _doCall will live, so we handle it using $req->fault in
call - in which case, there's no point in retries.

sophos/WWW-SFDC