allow user to give a function to resolve the timeout value instead of a static value
Merge pull request #3 from IsCoolEntertainment/retry-time-predicate

allow user to give a function to resolve the timeout value instead of a ...