Terminate all instances on failure