properly close connections and apply pool certs