Tidying up, remove race condition, make sure that celery lock stays lock until start_dyno command is run