Improving memcached handle