Added mutex Locks for every cache access