removed a subtle bug when calling Bit_Stream_close after Bit_Stream_destroy