=per #13962 Close LevelDB snapshots to avoid resource leakage