remove unused nsPort variable in NetworkService constructor