Change network_monitor's main to run_monitor