add workaoround code snippet for DistributedCache