Annoying error happening from time to time

Wappler Version : 6.8.0
Operating System : Windows 10
Server Model: Nodejs
Database Type: Postgre
Hosting Type: Customer VPS

Expected behavior

What do you think should happen?

Deploy the application whithout the file (db.json) getting corrupted

Actual behavior

What actually happens?

It happens from time to time, you simple select the production target and hit deploy, everything looks fine but when you open your online applications it shows this message:

The problem is on the file app/modules/connections/db.json, it gets corrupt, if you try to open it doesn't show anything, i'm so used to this behavior that i have a backup of that file, and everytime i need to close wappler (so i can replace the file) reopen and make another deploy

How to reproduce

The only away to reproduce this is to make chances to a app and deploy it, at some point it will currupt the db.json file. I thought it was related to my computer but i just did in another one and the same thing happened