You were so brave to tell them the truth, and you even complained about it.😅
I will just answer their questions as per my itinerary, which I did on my previous visit.
Basically, yes, it's connection to head home. Because there's no direct flight from Jamaica to Indonesia.
Of course, my partner and I expect to stay a little bit longer. But everything would depend on the CBP officer's decision.
Finger crossed 🤞