check: add CLI option to repeat and stop tests in case of failure