Refactor memcache client creation to use the pool.