Added retries to exceptions example