Implemented ConnectionManager.