pipeline.py: set max retries to 10, instead of 2