Failed to parse the stats file

This is the second time I’ve had this error (from the web ui log):

Failed to parse the stats file
C:\ProgramData/.duplicacy-web/stats/schedules/Regular.stats: unexpected end of JSON input

It’s caused by the stats file getting corrupted and saved with 0 size. Any idea what is causing this?

I can fix it by editing the file to be an empty JSON array, but I want to know why it keeps happening.

Do you have parallel jobs in that schedule?

no, though one has a threads -2.