def METHOD_NAME() -> None:
    connection = mock.Mock()
    connection.execute.side_effect = TestError("some error")
    state.set_config("simultaneous_queries_sleep_seconds", 0.5)
    pool = ClickhousePool("host", 100, "test", "test", "test")
    pool.pool = queue.LifoQueue(1)
    pool.pool.put(connection, block=False)
    with pytest.raises(ClickhouseError):
        pool.execute("SELECT something")
    connection.execute.assert_called_once()
    connection.reset_mock(side_effect=True)
    connection.execute.side_effect = TestConcurrentError("some error")
    with pytest.raises(ClickhouseError):
        pool.execute("SELECT something")
    assert connection.execute.call_count == 2, "Expected two attempts"