Fix race condition when CRL checking is enabled.
8 files changed