Fix celery restarts.