I am not sure if this is the same cause as this ticket, but a similar situation occurred with the following code.
id = $i;
        }
        public function __destruct() {
            echo __METHOD__ .  ' : ' .  $this->id . '
' . PHP_EOL;
            unset($this->id);
        }
    };
}
// If uncommented out, "ERR: Time-out connecting to debugging client" is logged only once, as usual.
// $hoge = null;
?>
[xdebug]
xdebug.mode = develop,debug
xdebug.idekey = "PHPSTORM"
xdebug.client_host=*******
xdebug.client_port=9003
xdebug.start_with_request=yes
xdebug.start_upon_error=no
xdebug.log=/var/log/httpd/xdebug_log
Copyright (c) The PHP Group
Zend Engine v4.1.11, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.11, Copyright (c), by Zend Technologies
    with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethan