import get_client within celery task