Related to cppunit v1.8.0
ActiveTest::run calls DuplicateHandle() on every test
run and there is no CloseHandle() calls.
to fix call CloseHandle() from
ActiveTest::threadFunction(), for example:
UINT ActiveTest::threadFunction (LPVOID thisInstance)
ActiveTest *test = (ActiveTest *)thisInstance;
// two lines added
test->m_threadHandle = INVALID_HANDLE_VALUE;
or remove DuplicateHandle() and m_threadHandle all
together, as it is not used yet.