CDEC-56: fixed handling of remote command exception