The Dynamical Behavior of Reconnection-driven Termination Shocks in Solar Flares: Magnetohydrodynamic Simulations