Hook up a button to the connection target state.
Reset connection state on halt.