def METHOD_NAME(
    self, http_session: requests.Session, err: bool = False
) -> None:
    if err or len(self._sessions) >= self._max_workers:
        logger.info(
            "Deleting requests.Session",
            extra={
                "sessions_created": self._sessions_created,
                "session": http_session,
                "session_time_created": http_session.time_created,
                "session_time_returned": http_session.time_returned,
                "live_sessions_count": len(self._sessions),
                "err": err,
            },
        )
        del http_session
    else:
        http_session.time_returned = time.time()
        self._sessions.append(http_session)