Properly check for Memcached availability