linked list: cleanup in cyclical