adds break if the command does not exit successfully