The general concern here is that if there is something like a file
descriptor involved, and if the Close method doesn't take special
protection to avoid problems with multiple calls to Close, then a
first call to Close may close the descriptor, then some other
goroutine may open something and get the same descriptor number, and
then a second call to Close may close the same descriptor number,
breaking the other goroutine unexpectedly. Historically, we forgot to
say that it was OK to call Close multiple times. By the time we wrote
that comment, there were many existing Close implementations out
there, and it wasn't clear that we wanted to, or reasonably could,
make them non-compliant. So unfortunately I think we kind of do mean
"undefined".
Ian