finish ConnectionManager