repeat - while do so that if command fails we will exit