{
QueryExecution qExec = makeQExec("PREFIX ex: <" + ns + "> " +
"SELECT * {?s ?p ?o . FILTER ex:wait(100) }") ;
CancelThreadRunner thread = new CancelThreadRunner(qExec);
thread.start();
synchronized (qExec) { qExec.wait() ; }
qExec.abort();
synchronized (qExec) { qExec.notify() ; }
assertEquals (1, thread.getCount()) ;
}