Automated Failure Containment