close
Cancel in-flight futures and release the underlying coroutine scope.
In-flight futures complete exceptionally with CancellationException; subsequent calls return already-failed futures. Idempotent. Implements AutoCloseable so the client can be used in a Java try-with-resources block.