title: Tika-Python library throws read timeout error for large word document
body: <p>Trying to parse a word document through tika using Tika-Python library (<a href="https://github.com/chrismattmann/tika-python" rel="nofollow noreferrer">https://github.com/chrismattmann/tika-python</a>) in python2.7 (I know that it is being depreciated, but few other dependencies work only in python2). But for few of the larger documents I am unable to get the parsed data. I am using the below code snippet to parse the document.</p>
  
  <pre><code>headers = {
                  "X-Tika-OCRLanguage": "eng",
                  'timeout': 300,
                  'pool_timeout':  300,
                  "X-Tika-OCRTimeout": 300
              }
  text_tika = parser.from_file(doc, xmlContent=False, requestOptions={'headers':headers})
  </code></pre>
  
  <p>This code snippet throws following error:</p>
  
  <pre><code>ReadTimeout(ReadTimeoutError("HTTPConnectionPool(host='localhost', port=9998): Read timed out. (read timeout=60)",),)
  </code></pre>
  
  <p>Tried various request options to increase the read timeout but failed. Can anybody please help here?</p>