We consider stochastic optimal control problems with an additional term representing the variance of the control functions. The latter one may serve as a risk control. We present and treat the problem in a purely analytical way via a Vlasov--McKean functional and Bellman equations with mean field dependence. We obtain global existence and, essentially, optimal global regularity for the solutions of the Bellman equation and the minimizing control. Surprisingly, the risk term simplifies the analysis to a certain extend.