[memcache] safer validState maintainance

Unclear if validState manipulations could cause issues at high load when really weird things happen to connections, but this should make logic rock solid.