Changed function to use variable param instead of static number

The function "retrying" takes a param "times" but doesn't do anything with it, not sure if this was intentional?
Change was introduced here: https://github.com/travis-ci/travis-core/commit/516f4f22aa792af777d92da6eda5724363246693#diff-1
Looks like there's a static number being used (3) instead which is the same number passed in on line 18 (also 3)