Using an infinite timeout will make libldap use blocking thread for
establishing the TLS connection both when using StartTTLS and when using
LDAPS. This leaves the LDAP_OPT_NETWORK_TIMEOUT to its
default (-1) when using TLS connection.
Related: rhbz#1992551
Signed-off-by: Antonio Torres <antorres@redhat.com>