Re #6811. Remove isRunningAsync() method - it is not used anywhere.
Re #6811. Thread-safety around the running & cancel flags.

Also some const-correctness.
Re #6811. Const-correctness.