use connection pool properly? in irc bot