Decorator to ensure the threads are cleaned up even if the test fails.
test.support.threading_helper/reap_threads
reap_threads