fix SIGSEGV when jbds attempts TLS connection and mismatch in native libraries