FWIW: to "repeat a command until it succeeds" the right way is to do `until $command; do $some_back_off; done`.