Made MemCache thread safe for Clear and Keys methods