LILY-228: Add timeouts and retries to celery tasks.