When my script finishes it doesn't seem to hangup. I use Jabber (Mac) connected to Cisco UCM to URI dial my application. After it does a couple of "say this say that" lines, the script is finished.
My Jabber client however stays connected.. (or appears to stay connected).
Any idea why this could be? (without immediately digging into logs)