AsyncCloseable
interface AsyncCloseable
A resource whose release may wait.
The handles of an AsyncMediaRuntime close through the runtime's lane, which is the one place the runtime runs codec work. A close therefore waits for the work that holds the lane.