An article from THE INDEPENDENT about a piece of legislation before the 1920 Congress intending to temporarily shut-off all immigration for a short while:
"The measure is not intended as a basis for permanent immigration policy, but simply as an emergency" injunction" to halt immigration until Congress... can determine the policy it wishes to adopt".
Read about the 1921 law that was intended to completely cut-off all immigration.