Drop unused networks from cache.