code: private void sendCloseSession() throws IOException{
          ProtocolHeader h = new ProtocolHeader();
          h.setType(ProtocolType.CloseSession);
  
          sendAdminPacket(h, null);
      }
docs: Send the CloseSession packet.
  
  @throws IOException
  the IOException.