Added infinite loop detection (just halts processing, see bug #8878) Submitted by: Rhett Aultman (raultman@fcci-group.com)