close

open override fun close()

Release all resources and block until everything has been written to the file system.