pipeline.py: set max tries to 2