Government stops thousands of refugees far from Canada's borders