free entry_list on exit