Use goroutine-safe version of rand.Source Upstream-commit: 322f675123681f6196dafdb6263fd34519e8ecbc Component: engine