[GLib] Fixed NetworkableHosts not unregistering Connections when they are closed.