=== try-with-resources: close() runs the graceful pattern automatically === main: leaving the try-with-resources block now task-2: finished task-0: finished task-1: finished main: back from the try-with-resources block - the pool is terminated, every task already finished, no separate awaitTermination() call was written done