actually abort process-md.sh on failure