Cutting off the power supply under fault conditions