How do I stop function started by setTimeout call

Really? debounce is the most typical use case.