Fix function call in nccliet rpc listener