minor speedup for cancel and delete operations from cli