Cleanup blockchain_generate_snapshot