Remove old pdf. stop the infinite loop!