Use other kind of timeout
Make pdflatex nonstopmode