The Terminate Step

Drag a Terminate step from the Contact palette to the Design pane and place it on the Goto step.

Then configure the Terminate step to terminate the connection.