While debugging tests for #14182, I noticed that DefaultCacheAwareContextLoaderDelegate does not log cache statistics if an ApplicationContext fails to load.

This can be easily addressed by logging the statistics in a try-finally block.