test if openssl is thread safe with internal locks