non-worker implementation of memcached client