Future<ThrowableStory> future = runningStory.getFuture();
if (!future.isDone()) {
allDone = false;
StoryDuration duration = runningStory.getDuration();
runningStory.updateDuration();
if (duration.timedOut()) {
embedderMonitor.storyTimeout(story, duration);
storyRunner.cancelStory(story, duration);
future.cancel(true);
if (embedderControls.failOnStoryTimeout()) {
throw new StoryExecutionFailed(story.getPath(),