[DF-4152] Threads to Id map contains uniqhe thread id for windows (GetCurrentThreadId()) instead if HANDLE (GetCurrentThread()) because it is temporary handle which could live in one thread.