debugPrint("...cancelled");
    public synchronized void cancel() {	cancelled = true;	try {	    Thread.sleep(cancelDelay);	} catch (InterruptedException ie) {	    ie.printStackTrace();	}        if (line != null) {            synchronized (line) {                line.stop();                line.flush();            }            notify();        }    }