set max retries to 2