title: tesseract ocr multipage pdf hangs
body: <p>We are using Tesseract's Java library, Called Tess4j to convert PDF files to text.
  It works nicely with Tiff files as well as one page PDF files. But with multi-page PDF's it does generate the output file, when it comes to the last page, the control doesn't seem to come back to the original application which invoked the doOCR call. It just stays/hangs there without doing anything.
  Is it an issue with the native call not returning back.i have no clue,</p>
  
  <p>Please let me know if there is a solution to this issue, as soon as possible.</p>
  
  <p>Regards<br>
  Vish</p>