<BUG>public synchronized void stop() {SUPERVISOR_LOCK.lock();</BUG><CONTEXT>SUPERVISOR_LOCK.unlock();}}}).start();}<extra_id_0>if (driver != null) {LOGGER.info("Stopping Mesos driver.");driver.stop();</CONTEXT>
try {SUPERVISOR_LOCK.lock();