Error in connecting with memcached