def stopCommandApply(self, ticket, commandId):
        try:
            commandWatcher = self.commandWatchers[commandId]
        except __HOLE__:
            LOGGER.warning("Attempt to stop an unregistered command %d", commandId)
        else:
            commandWatcher.processObj.kill()
            self.updateCompletionAndStatus(commandId, 0, COMMAND.CMD_CANCELED, "killed")
            self.ensureNoMoreRender()
            LOGGER.info("Stopped command %r", commandId)
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/octopus/worker/worker.py/Worker.stopCommandApply