I put the toast at the end of the workflow and do the same thing with a delay. The other toast that was in there also was the same way. It did not handle closing the toast without a delay.
It would be awesome if there were a WeWeb component for toasts like that.
Take a look here for a little bit more information.