private void checkOpen() throws SQLException {
        if (isClosed()) {
            throw new SQLException("Connection is closed", ExceptionUtils.SQL_STATE_CONNECTION_EXCEPTION);
        }
    }
Returns instance of the client used to execute queries by this connection.
@return - client instance
jdbc-v2/src/main/java/com/clickhouse/jdbc/ConnectionImpl.java