public void close () throws IOException { closed = true; }
close() throws IOException { synchronized (lock) {  closed = true; snk.close(); notifyAll();  } }
  public void close () throws IOException  {    closed = true;  }