Add condition on memcached class to ensure that there is a client available before running this autoconfig class