Allow some known flaky tests to run up to 2 times in order to pass. Those tests usually involve multithread or synthesized keyboard input.