Get rid of unnecessary function main_entry_iterate_shutdown