@Override public BytesRef next() throws IOException {
  try {
    Thread.sleep(100);
  }
 catch (  InterruptedException e) {
  }
  return in.next();
}

@ Override public BytesRef next ( ) throws IOException { try { Thread . sleep ( 100 ) ; } catch ( InterruptedException e ) { } return in . next ( ) ; }
sleep between iterations to timeout things .
