Fixed race condition in the ThreadUtilsTest class's testSleepWithInterrupt test case method.