This PR ensures that the failing test does not leak threads between each iteration, which could lead to timeouts.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8392523: Hardening AsyncShutdownNowInvokeAnyRace, ensuring threads are terminated after each iteration Changes: https://git.openjdk.org/jdk/pull/33453/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33453&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8392523 Stats: 6 lines in 1 file changed: 4 ins; 1 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/33453.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33453/head:pull/33453 PR: https://git.openjdk.org/jdk/pull/33453
