There was always the option to just not let them in in the first place. Many people at the time (HP Lovecraft being an example) thought that Ellis-Island migration into the United States was an existential mistake.