bug fix: adding pending status to pdf indexing when we pass pdf off for indexing (create celery task)