SLING-4159, close resource resolver in finally