Remove network when it's last gate is broken.