Cached connection manager for resource adapters