Thousands of Afghans are stranded at the border with Pakistan.