How can I stop further requests if the first request is failed

Hello there,
Please check this post, it may be useful for you.
If you have any questions, feel free to askđź‘Ť