docs: def close(self):
          """Closes the gzip with care to handle multiple members.
          """
          if self.fileobj is None:
              return
          if self.mode == WRITE:
              self.close_member()
              self.fileobj = None
          elif self.mode == READ:
              self.fileobj = None
              
          if self.myfileobj:
              self.myfileobj.close()
              self.myfileobj = None