if execute_hook failed then execute fix_network and remove_package