Resource models a shared resource which can be acquired and released.
Acquired is the acquired resource itself, released by calling close.
Attempts to acquire the resource.