protected function isIdleTimeOut(): bool
    {
        $idleTime = time() - $this->getLastTime();
        $maxIdleTime = $this->getPool()->getPoolConfig()->getMaxIdleTime();
        return $idleTime > $maxIdleTime;
    }