Fix AD example typo and use connection pooling.