This has been mentioned before but not really developed upon.
Goblins go for resources, there is no changing that but what about this, if there is loot in the TH AFTER all the other collectors and mines have been destroyed, why don't the goblins go and attack the TH to go and satisfy their needs to steal all of our loot. This would only happen if there was still loot in the TH otherwise they would go for the closest building as they do now, a small idea which I think would work because if you have taken out all of their storages/collectors you are probably going to win anyway.