Fixed some memcache timing issues.