Fix executor shutdown and depth order values.