Fixed new connections and updating in ConnectionManager.