Auto-retry is a  useful feature available for all test containers. Test cases or smart folders with an auto-retry count will be rerun until they are either successful or all retries have been used up. 

By default, failures and the related error messages are only logged to the report if all retries fail. If you want to log any failures even if the test container succeeded, you can use the module described here.

Simply add it to the desired test container.