Fixed Knox canCancelProcessing function