Update max connections and connection manager cleanup