164165166167168169170171172173174
@Override public void stop() { if (isProperlyStarted()) { try { new StopInstrumentsRunLoop(session).handle(); synchronized (this) { properlyStarted = false; } } catch (Exception e) { // ignore. If we can't kill instruments properly, forcestop will do it.