Added TIMEOUT exception, and stopped the exception from retrying a
search when ldap is down. Now it just returns nil and doesn't unlock.