Resettlement schemes for Afghans to come to the UK after the Taliban takeover will eventually close, the Government has indicated.