Added comment for closing png device