Breaking execution based on a condition through child pipeline

I want to process multiple documents through one of my child pipeline.
However, i want the processing to stop for any of the documents further;
if any one of it fails to pass a certain necessary condition.

image
this is my json data which contains Success and Failed values

now while iterating on this document if pipeline execution come across Failed value, I want my execution to halt
image

but pipeline execute snap is giving following output
image
the output should have contained only the first document as second document was failed

please find attachments for pipelines CHILD_PIPELINE.slp (13.8 KB)
PARENT_PIPELINE.slp (5.2 KB)

Basically, the requirement is if I am processing an array of data through pipeline execute and I come across a data where I want to put some flag or something in pipeline execute so that consecutive data will see that flag and their execution would not be started.