apimachinery/pkg/util/wait: Fix potential goroutine leak in pollInternal().
apimachinery/pkg/util/wait: Fix potential goroutine leak in pollInternal().

Without the change, the wait function wouldn't exit until the timeout
happens, so if the timeout is set to a big value and the Poll() is run
inside a loop, then the total goroutines will increase indefinitely.

This PR fix the issue by closing the stop channel to tell the wait function
to exit immediately if condition is true or any error happens.

Kubernetes-commit: 3d0391864ed0a96ac37046e6021a7fa6b9fab313

kubernetes/apimachinery