Error if threads leak.

Leaky threads lead to tests failing because they starve CPU time
particularly when run on machines with fewer CPUs (so the threads can
concentrate their leakyness on a single python process). Avoid these
problems in the future by erroring if any leak.

Change-Id: I73cb815fc079af879e04a95d908097a4275cf4b3
1 file changed