code: def _run(self, *args, **kwargs):
          
          apgw_rpc_bind_ip = _validate_rpc_ip(kwargs.pop(NC_RPC_BIND_IP))
          apgw_rpc_bind_port = _validate_rpc_port(kwargs.pop(NC_RPC_BIND_PORT))
  
          sock_addr = (apgw_rpc_bind_ip, apgw_rpc_bind_port)
          LOG.debug('NetworkController started listening for connections...')
  
          server_thread, _ = self._listen_tcp(sock_addr,
                                              self._start_rpc_session)
          self.pause(0)
          server_thread.wait()
docs: Runs RPC server.
  
          Wait for peer to connect and start rpc session with it.
          For every connection we start and new rpc session.