Cancel an async task and move on the next task

I believe what you are looking for is Event based gateway.

image

Using this it will cancel either the timer or the message (depending on which one gets triggered).

Cheers,
Filip