Added explicit disconnection from domain controllers to ActiveDirectory.