BEIJING: China on Thursday announced a temporary ban on entry of foreigners holding valid visas or residence permits and drastically cut international flights in a bid to prevent a second wave of infections amid a surge in the number of imported cases in the country.