is.close();
//possible that page still being decoded on slower machine so wait
decode_pdf.waitForDecodingToFinish();
decode_pdf.currentPdfFile = new PdfReader();
/** get reader object to open the file if all downloaded*/
if(isAlive() && !isInterrupted()){
decode_pdf.openPdfFile(tempURLFile.getAbsolutePath());