add some log to debug rpc fail and duplicated session