Retry failed Bitcasa API calls.
Wrap api calls in exception loop until call succeeds.