Added the retry operation as part of the options

I want to be able to set up the maximum number of retries