I wonder if you want an Integer here instead of a Boolean to control the number of retries.