When you cancel an action with RAISEEXCEPTION, the request is closed if no actions are triggered after the cancelled action.
You can use a sync bar if all the actions before are completed or a dummy action (an assembly method, for example) to avoid the request cancellation.