closing down the repository