Hello.
I think you can't do that directly.
Instead, you can add a Cancelled state to your flow, mark your files Deleted (so they won't be checked out) or add a field to your form.
All of these are just workarounds, but maybe one of them can fit your use case.
Best regards,
Ricardo Bernardino