By default when automation scripts are scheduled and run they open an close the connection after each activity. This is the default behavior unless you have set the attribute to use Auto connected connections. This means you have the option check to start the connection on start up. So i am not sure what you saying.
Are you saying that you have an automation script, schedule it to run and after toad shuts down the connections are still connected? i don't see how that can be.