How to stop a flow?

how to stop responses in rasa calm. i tried with pattern completed and triggered action _after a particular flow. But it keeps expecting for next user input. How to stop it? Is there a default action action_stop

flows:

pattern_completed:

description:  a flow has been completed and there is nothing else to be done
steps:
  - noop: true
    next:
      - if: context.previous_flow_name != "agent_handoff"
        then:
          - action: utter_what_can_help_with
            next: END
      - else: stop

  - id: stop
    action: action_stop

This doesn;t help me