fix(memcache): delete invalid memcaches