Add retry (-r <seconds between retries>) option to CLI. 

Retries the command until it completes without an exception being thrown. Useful when you want to run commands unattended, and prevents you from having to perform your own retries.