Problems staying connected to OSXvnc while running a script

I am having trouble where vnc will lose it connection in the middle of running a script. Is there anything I can look at to see why this might be happening?

One thought that occurred to us when we were talking about why this problem might be happening is related to something you mentioned when we spoke on the phone: You said that you and a coworker were sharing a system-under-test. It’s possible that your vnc server is configured to disconnect the current user when a new connection is established. If that’s the case then you could be inadvertently disconnecting each other just by establishing an Eggplant connection.

You should look for a setting under the sharing tab that indicates whether existing clients stay connected when a new connection is made.