The command below can be faster libreoffice --headless --convert-to pdf *.docx
libreoffice --headless --convert-to pdf *.docx