handle overflow when retry count gets larger
lower retry to 29
Merge pull request #566 from dcapwell/retryWithLargerValues

handle overflow when retry count gets larger