Off by one and goroutine blocking