proper way to cleanup?

Is there a proper way to clean up after an RTTLua run? Right now, we're just using a function:

function shutdown()
-- some custom things for safety
depl:kickOutAll()
os.exit()
end

Should we also be disconnecting ports or other things like that? Is kickOutAll() too drastic for normal use?

--
Dustin Gooding
NASA/JSC Robotics
IM: dgooding [..] ...<xmpp:dgooding [..] ...>