merge conn fix from https://github.com/hsoj/ldap/pull/2