Refs #21149 - Protect against random wkhtmltopdf Segmentation fault

- Protect against random wkhtmltopdf Segmentation fault errors and
  retry 3 times to re-generate PDF.