Rough idea for calling Celery task via deferToThread.