Fix celery restart.