releases GIL during hts_open and sam_read1