class Net::LDAP::Connection

def close

++
have to call it, but perhaps it will come in handy someday.
object gets closed without waiting for a GC to happen. Clients shouldn't
This is provided as a convenience method to make sure a connection
--
def close
  return if !defined?(@conn) || @conn.nil?
  @conn.close
  @conn = nil
end