DSKCLI-304: Better handling of remote exceptions