If I remember right you are sent directly to customs and immigration when you get off the plane. There is no option to go to connecting flights. The airport is not very large, and assuming you can get your boarding pass for the return flight in advance, I don't see why you would have a hard time getting in, out and then back in the airport in a short time. Of course, you could let the AAgent meeting the airplane (assuming there is one) know of your madness and they MAY be able to walk you into the terminal instead of making you clear customs (though I have no way of knowing if this is possible).
One thing that I do recall is that they boarded the return flight in an odd manner. They had everyone line up in the jetway and along the wall before the plane (A300) was ready to board. Once the aircraft was ready to receive passengers, the flood gates opened and the craft was fully loaded very quickly -- this is sort of like how AA boards in DEL, but much less chaotic and much better managed.