Add a call to close in the Writer destructor.
Add a call to close in the Writer destructor.

It is still advisable to close the writer before to avoid waiting for the elements to be written inside the destructor.

PiperOrigin-RevId: 343834466
Change-Id: If2a64658a526d792573446ead315c65e6b4801d3

deepmind/reverb,deepmind/reverb,deepmind/reverb,deepmind/reverb