Terminate pending activities

Is there any way to terminate the pending activities due to retry?

@maxim , do you have any approach to cancel the pending activities

Unfortunately, it is not currently supported. Here is the issue to get this fixed.