Confirmation redirect send while payment is aborted

I created a confirmation redirect to a thank you page. But when I do a test payment and abort it halfway, it will redirect me to the thank you page.

How can I prevent sending the customer to the thank you page when they abort the payment?