Added checks for specific types of equipment.
Made the handler sleep even if a cycle failed with an error.