A generic strategy for fault-tolerance in control systems distributed over a network