Implement a switch to turn failure handling on/off.
Implement a switch to turn failure handling on/off.