ChatGPT's "Stop Generating" function - how to implement?

plus some amount of tokens that get sent prior to the disconnect being detected up the chain, yes.