Fix external executors being shutdown