add retry functionality and small error handling
add retry functionality and small error handling

Note that access token can be expired earlier than the reported
expiry time (off by about half an hour), which will cause '401
Unauthorized' error. Retry can hadle this situation.

noblehng/backup-kanbox