@classmethod
def _decref(cls, store):
    """ Record that a client is finished using the specified store. """
    try:
        val = cls._stores[store]
        if val == 1:
            cls._close(store)
            del cls._stores[store]
        else:
            cls._stores[store] = val - 1
    except KeyError:
        pass
