ITS#9366 Check ldap_install_tls return and remove connection if failed

3 jobs for its9366 in 25 minutes and 31 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #2531
build-gnutls-mit

00:25:21

passed #2529
build-no-threads-no-slapd

00:02:46

passed #2530
build-openssl-heimdal

00:25:31