The right way to do it is this: ``` val job = Job(...
# coroutines
e
The right way to do it is this:
Copy code
val job = Job() // to close the context
val context = newSingleThreadContext("myContext", job)
....
job.cancel() // when you don't need it anymore