Repeat failed appium tests

Hi folks,

I would like to retry a test that has failed. I tried using the @RepeatedTest annotation from Junit, and it does repeat the test, but it does not create a new Appium session, which is not helpful
Does anyone have an idea?

cheers
-a

my favourite testNG with retry listener. tons examples in google.
for jUnit i looks similar -> https://stackoverflow.com/questions/8295100/how-to-re-run-failed-junit-tests-immediately