Task#8745 resrepo implementation - cleanup and gc
Task#8745 resrepo implementation - cleanup and gc