docs: def _free_array(self, handle: int):
          """Frees the memory for the array with the given handle.
  
          Args:
            handle: The handle of the array whose memory should be freed. This
              handle must come from the _create_array method.
          """
          with self._lock:
              if self._arrays[handle] is not None:
                  self._arrays[handle] = None
                  self._count -= 1