Unfortunately no. To make that work, you need to hook in the JUnit test runner machinery, which is not how the `FlakyTest.retry` combinator work at the moment (the current implementation is naive...)