TERM LOAN AGREEMENT dated as of May 17, 2022