Fully deterministic test.
- Use LockSupport.parkNanos()
- Capture ExecutorService.submit() futures along with the looping flag for later cancellation.