reset max retries to 10