The term "employment" shall not include service that is performed by a nonresident alien for the period he or she is temporarily present in the United States as a nonimmigrant under subparagraph (F), (H)(ii), (H)(iii), or (J) of section 101(a)(15) of the federal immigration and naturalization act, as amended, and that is performed to carry out the purpose specified in the applicable subparagraph of the federal immigration and naturalization act.