docs: public void cancelQueuedTasks() {
        ArrayList<QueueingTask> queuedTasks = new ArrayList<QueueingTask>();
        queue.drainTo(queuedTasks);
        for (QueueingTask task : queuedTasks) {
           task.cancel(false);
        }
     }