Reg : VNC Issue

I am working with an Design Tool. i tried to automate using Eggplant. While runnning , if script fails , my VNC disconnected automatically.
I am facing this issue many times.

What is the reason behind this?

Kindly help me to resolve the issue

That sounds like a configuration or network problem. The connection should never drop as the result of a failed script. I suggest you get in touch with our support department and provide your logs as well as information about your systems and network.