PDF: support async text extraction