AI-559 : reduced the risk of memcache race condition