Bug fix: don't forget to close Inflater and Deflater.