setting opts twice in a goroutine fails