Resource that can be closed.
Wrap a Future with this resource. After the future completes, the resource will be closed