Phil Smail has this great code snippet for providing better error handling with regards to checked out resources: While working with the PSI I wanted to check out a number of resources. Obviously the situation can arise where some of those resources are