Fixed cache path
Fixed random issues with mutexes