Fixes #181: Handle memcached errors gracefully.