Close snapshots on close