Fix CheckpointManager bug where old checkpoints might be cleaned up while reading metrics from them.
Fix CheckpointManager bug where old checkpoints might be cleaned up while reading metrics from them.

PiperOrigin-RevId: 462427381

google/orbax