Improve parallel processing with piped output and better error handling.