Simplify network check/restart logic