LDAP connect method and number

Does anyone know how opendistro security connect to LDAP? does it use a connection pool? When will it crease a new connection instead of re-use the current connection.
We found there are thousands of connection from elasticsearch to LDAP(FreeIPA) server. It result the LDAP server doesn’t work. we want to reduce the connection number.

There is an issue open for it. https://github.com/opendistro-for-elasticsearch/security/issues/159

@jakob, Thanks a lot, hope the 1.3 release soon.