How to Handle Try-with-Resources in Kotlin | CodeTrail