If you develop a software that as a chance of lagging/hanging until a process is done, and there is a button to "go" and "stop", please make these two buttons separate.
You see, the user can't know if the button press for "stop" has been queued or missed, so they might press it more than once and now the process will pause and immediately unpause because they're the same button.
Hacker News