Modify test termination condition as half of test failures for last 10 sec