**Use case**
Some program left garbage in terminal.

**Describe the solution you'd like**
Subset of what `reset` command does.
std::cout << "Timeout exceeded while receiving data from server."
                                      << " Waited for " << static_cast<size_t>(elapsed) << " seconds,"
                                      << " timeout is " << receive_timeout.totalSeconds() << " seconds." << st;
                            cancel_query();
                        }
                    }
                }
                /// Poll for changes after a cancellation check, otherwise it never reached
                /// because of progress updates from server.
                nterval))
                    break;
            }
            if (!receiveAndProcessPacket(cancelled))
                break;
        }
        if (cancelled && is_interactive)
            std::cout << "Query was cancelled." << st;
    }
    /// Receive a part of the result, or progress info or an exception and process it.
    /// Returns true if one should continue receiving packets.
    /// Output of result is suppressed if query was cancelled.
    bool receiveAndProcessPacket(bool cancelled)
    
        Packet packet = n->receivePacket();
        switch (packet.type)
        
            case Protocol::Server::PartUUIDs:
                return true;
            case Protocol::Server::Data:
                if