Bug 1002357: memached->clear_config isn't always called where required
r=dkl, a=glob