List<Runnable> () { List<Runnable> canceled = doShutdown(); List<Runnable> backEndCanceled = backendExecutorService instanceof BoundedTaskExecutor ? ((BoundedTaskExecutor)backendExecutorService).clearAndCancelAll() : Collections.emptyList(); try { myLaxativePill.get(); } catch (InterruptedException | ExecutionException e) { throw new RuntimeException(e); } return ContainerUtil.concat(canceled, backEndCanceled); }