Another capital gains Q

I am single, have lived in the home for 6 years and sold in April 2022. I made 300k. Is there a way to avoid paying capital gains on the additional 50k? I am working in another country (non military) and would prefer not to purchase another property in the US until next year.