Fix sporadic failure in ThreadRenamingRunnableTest

- Make sure the ThreadNameDeterminer is reset to the default after each test to avoid the side effect between tests