Avoid `COMMAND | head ; echo ${PIPESTATUS[@]}` to return `2 0`