Fixing potential race condition in cachedKeyService
Fixing potential race condition in cachedKeyService

Signed-off-by: Ravi Honnavalli <fba8a466e10e680b9632e07795a23585720f1c38@gmail.com>

vdemeester/notary,HuKeping/notary,johnsandiford/notary,docker/notary,docker/notary,endophage/notary,endophage/notary,endophage/notary,johnsandiford/notary,jfrazelle/notary,HuKeping/notary,jfrazelle/notary,HuKeping/notary,docker/notary,johnsandiford/notary,vdemeester/notary,jfrazelle/notary,vdemeester/notary