Use ManagedResource as Future

It may be useful to have a convinient function to use managed resource as `Future`.