[DF-1837] Add conditional values for Threads + Thread::SleepThread() + UnitTest