Add script to run a command repeatedly until it fails.