Cache for resources that need closing