I suspect this would return too early. See `forgetAllNetworks` for where we only call the callback when all networks are forgotten. I think a similar technique could be used here.