It must be possible to cancel a task using the API. Maybe by setting a `CANCELLED` state in the JSON file?