Number of retries can be configured