'Stop a container.'

def stop(self, name):

    if (random.random() < STOP_ERROR_RATE):
        jobs.setdefault(name, {})['state'] = JobState.crashed
    else:
        super(ChaosSchedulerClient, self).stop(name)
