Race condition in Windows device detection #194