Allow a bitstream reader to be closed