Hi all, how to safely close resources (http connections e.t.c.) while using coroutines? As far as my understanding goes, Dispatchers such as IO and Default are using demon threads which will be immediately shutdown when VM halts. So we can't be 100% shure if resource was closed in time or not.