Stop diagnostic scenario only if condition met