Clean imports stop celery tasks first