Remove thread locals use in memcached backend