bound = false;
  public void close() throws IOException  {    if (isClosed())      return;    impl.close();    impl = null;    bound = false;        if (getChannel() != null)      getChannel().close();  }