@SuppressWarnings("deprecation")
	public synchronized void killCurrentOperation() {
        Util.println("**** Killing child process");
        if (childThread != null) {
            int count = 0;
            // try interrupting it first
            try {
                while (childThread != null && childThread.isAlive() && count++ < 10) {
                    childThread.interrupt();
                    childThread.join(50);
                }
            }
            catch (InterruptedException e) {
            }
            
            while (childThread != null && childThread.isAlive() && count++ < 20)
                childThread.stop();
                
            childThread = null;
        }
    }