The go race detector has a limit on how many goroutines it can track. This test is only barely acceptable and the presence of any new goroutines push it over the edge. Shorten this test is race mode.