We do not have any built-in, out of the box, feature to automatically re-run failed tests. Daniel's suggestion is pretty good. It might be easier to use a coded step to run your test and check the returned result, like this:
If the test fails the first time control will be sent to the catch block and the test will automatically be run once more. If it fails again, the test runner will catch the exception and log the failed test. If the second attempt passes, the parent test will be set to Passed.