Add cancel command for ExternalCommand