Extract disconnect to a method to start calling from elsewhere.
Add explicit disconnects before launching Workflows