Only create a client if a cache manager is not passed in