Generalized Sensor-Based Tool Failure Detection And Prevention System For Intermittent Cutting Operations