main: not use loop variable in goroutine in loop body

Because loop variable are reused in following loops.
Just do `u := u` at the top of the loop.