closed = true;
if (getChannel() != null) getChannel().close();
  public void close () throws IOException  {    if (impl != null)      impl.close ();    if (ch != null)      ch.close ();        closed = true;  }