Closing Repository