added return error on recvChan when xid is unknown