Fix openssl lock