/** * Stop the current work. This is called if the top level results iterator has either finished or * the calling application has had enough. */ public void close() { isComplete = true; if (cpFrame != null) cpFrame.close(); engine.detach(this); }