Sometimes, when I run stack build --only-snapshot --prefetch --dry-run Stack hangs after the last download message is printed. Process Explorer and Resource Monitor report there are no network connections open, stack.exe is using ~12% CPU which corresponds to pegging one virtual core on my machine, and the vast majority of the CPU time is spent in kernel. The active thread, according to Process Explorer, is in ntdll.dll!ZwDeviceIoControlFile+0xa most of the time.
To reproduce:
Here's a log https://gist.github.com/enolan/25aad1613c42fee5fcbf