[sr-dev] git:5.7:0a96c9f4: dmq: fix inter-lock on error