refine openssl sess cache