Use cached copy of thread handle in getrusage for Windows.
Finish getrusage-windows