Fix a refcounting error

g_network_monitor_get_default is transfer-none, so we need
to take a reference if we want to drop it later on.