Added callOnComplete option to the cancel() method

Added a callOnComplete option to the cancel() method to allow any existing complete action to be optionally called.