code: public static void send(final PacketOutputStream pos) {
      try {
        pos.startPacket(0);
        pos.write(Packet.COM_QUIT);
        pos.flush();
      } catch (IOException ioe) {
        //eat
      }
    }
docs: Send close stream to server.
  
  @param pos write outputStream