Added Soft and Weak references in client cache