Will stop the script if a course fails too add 3 times