stopCommand method
Stop command.
This method will not cancel the timer for command. It only ensures it
won't run again this interval.
Returns true if successful.
Implementation
bool stopCommand(VoidCallback command) {
if (commandIsRunning(command)) {
_running[_getCommandIndex(command)] = false;
return true;
}
return false;
}