```
set skip_unavailable_shards=1;
select hostname(), * from cluster('{cluster}', system.one);

Connection failed at try №1,

Connection failed at try №2,

Connection failed at try №3,

Connection failed at try №1,

Connection failed at try №2,

Connection failed at try №3,
```

expected 3 try.
{
    query_executor.sendQuery();
}
void RemoteBlockInputStream::cancel(bool kill)
{
    if (kill)
        is_killed = true;
    bool old_val = false;
    if (!is_cancelled.compare_exchange_strong(old_val, true, std::memory_order_seq_cst, std::memory_order_relaxed))
        return;
    query_executor.cancel();
}
Block RemoteBlockInputStream::readImpl()
{
    auto block = query_executor.read();
    if (isCancelledOrThrowIfKilled())
        return Block();
    return block;
}
void RemoteBlockInputStream::readSuffixImpl()
{
    query_executor.finish();
}
}