I want to declare a public object (as opposed to a variable)inside a shared module (a db connection). I noticed that when I try to use the object in the calling script, it tells me the connection is closed. Is that because it is automatically closed inside the shared module at the end of the call, or because declaring it as public just isn't possible? I'm not closing it in the code until the end of the calling script. Any thoughts?