end_play should not stop the loop in task

First, you are not showing a loop, so i can only assume these tasks
are in an include_tasks with the loop defined there.

Second, you are asking Ansible to end the play, if is what is
happening, it is working as expected.
I'm not sure why you expect the play to continue after you asked it to end.