Remove dead networks