A Dynamic Control Strategy for Pension Plans in a Stochastic Framework