Add an automatic retry of migration commands, for ordering issues