bugfix for openssl session cache