 In method 'refresh', a whole new Repository object has been created and the old one should be deconstructed. But in fact, that not happen. Why?