Minimizing network downtime