This method of the Command class cancels execution of a pending asynchronous execute method call.
public void cancel();