try catch finally でちゃんと切断しよう 丁寧に書こう
try { } catch (IOException e) { System.err.println("clientPut_IOException" + e.toString() + e.getMessage()); } catch (Throwable t){ System.err.println("clientPut" + t.toString() + t.getMessage()); }finally{ if( out != null ) try { out.close(); } catch (Exception ex) {} if( coc != null ) try { coc.close(); } catch (Exception ex) {} } }