use(block)
Executes the block with the AsyncCloseable as parameter, and closes the resource once done.