When using Novell.Directory.Ldap.dll and making a connect to an ldap
server which does not exists i'm getting the following error:

Connection.freeWriteSemaphore(-2): semaphore not owned by any thread

Im using this to connect: conn.Connect(ldapHost, ldapPort);

This error is not catched by LdapException. Can anyone tell me if this is
a bug or do I have to do something different.