move network monitor to service