Time dependent subduction dynamics driven by the instability of stagnant slabs in the transition zone