Destroy the repository when done