The method java.util.concurrent.ThreadPoolExecutor.finalize() previously shut down the thread pool. In Java 11 the finalize method does nothing.
java.util.concurrent.ThreadPoolExecutor.finalize()