Closed the bam file reader after I was done with it. Important to avoid running out of file descriptors.