web: Fix leave handler of networking page.