docs: @Override
    public void reset() throws SQLException {
      cmdPrologue();
      try {
  
        writer.startPacket(0);
        writer.write(COM_RESET_CONNECTION);
        writer.flush();
        getResult(new Results());
  
        //clear prepare statement cache
        if (options.cachePrepStmts && options.useServerPrepStmts) {
          serverPrepareStatementCache.clear();
        }
  
      } catch (SQLException sqlException) {
        throw logQuery
            .exceptionWithQuery("COM_RESET_CONNECTION failed.", sqlException, explicitClosed);
      } catch (IOException e) {
        throw handleIoException(e);
      }
  
    }