using async.until to retry fetch until pdf extraction is complete