refactored connect_manager_t to use the find functions on linked lists