Add openssl threading