implement async.retry using async.series