func NextWithCurve(try int, deadline time.Time, curve []time.Duration) time.Duration
NextWithCurve computes the next backoff time for a given try number, optional (non zero) hard deadline using the given backoffs curve.