catch memcache errors