use IPC::Run to run pslatex & add a timeout, this should prevent hanging on template...