def METHOD_NAME(self, *args, **kwargs):
    try:
        super().METHOD_NAME(*args, **kwargs)
        self._semaphore.release()
    except psycopg2.pool.PoolError as e:
        if str(e) == "trying to put unkeyed connection":
            print("!!! trying to put unkeyed connection")
            print(f"env-PG_POOL:{config('PG_POOL', default=None)}")
            return
        raise e