On the equivalence between optimal stochastic control and open-loop feedback control