Issue #91: fix poll for done loop logic in TDTestBrowser