This allows changing the connect flow and taking control of it without relying on internal events or tricks.