Added mutex switch to file based cache, as I feel that it's was causing deadlock!