cancel abstract method

void cancel()

Cancels the task (If it is still running)

Implementation

void cancel();