error handling in Socket.connect
add Link.cache_to_list