ZEN-14146: Kill lucene searches that take longer than a configurable thr...

...eshold