close connections and use producer pools