Add timeout to total duration after last retry
Test fix for correct total duration.

4 retries with 50ms timeout is 250ms total. First try + 4 retries.
Merge pull request #242 from 2m/patch-1

Add timeout to total duration after last retry