be robust to reader being closed in line-seqs