cleanup and explicitly include memcached