metrics-core: Fix race condition in InstrumentedThreadFactoryTest.
Merge pull request #560 from udoprog/master

metrics-core: Fix race condition in InstrumentedThreadFactoryTest.