Repeat a command until a command succeeds
