Stop reading when the tika buffer is full