Makes SqlCache shared and thread-safe