close

open override fun close()

You need to release the resource manually to ensure that the resource no longer takes up memory.