document the method for changing number of retries.