... so basically I have two possible outcomes of my try{} block, each calling another pipeline. I'm worried that the flowscript only executes upto that sendPage, never reaching the conn.close() in the finally{} block. Or does it?
</Steven>
No, you're fine because cocoon.sendPage() doesn't block. But it would be a problem if you called sendPageAndWait()