unclosed cursor in HillshadeLayer