updated the documentation for the retry option