512513514515516517518519520521522
checkClosed(); // executingCommand can be reset by another thread CommandInterface c = executingCommand; try { if (c != null) { c.cancel(); } } finally { setExecutingStatement(null); } } catch (Exception e) {