Trying to stablize the thread_ui test that has been occasionally red in travis - a=npotb