Catch celery workers dying
A user encountered a malformed PDF provided by third party software (a bunch of syntax errors and whatnot). This causes a segfault somewhere in our image processing pipeline. Since the celery worker just dies, the pdf status never gets written into the database, and the processing looks like it got forever stuck.
We could try to use celery callbacks or similar functionality to detect whether it happens, and properly update the PDF status.