Prevent infinite loops to avoid your runs never stopping

Follow