Fixing potential deadlock situation
Bug fix: Ensure private cached is used, even if user enables "global" shared cache