/** * first try to send ssl close packet, then close channel * * @throws IOException */ @Override public void close() throws IOException { try { helper.close(); } catch (IOException ex) { } catch (Exception e) { log.log(Level.WARNING, "Unexpected error closing SSLHelper.", e); } super.close(); }