Add a 'num_retries' option to the init