terminate

open fun terminate()

Notify the loop that it should stop now.