If the departure of your international flight is not before noon, you can take a local flight back to San Jose to connect with your flight back home.