- Close StateDB when stopping the node - Lock the StateDB when doing checkpoints to avoid multiple instances of oppening the pebble DB at the same time.