Random disconnect when print completes

Sometimes when a print completes instead of getting a notification that the print is complete my printer will now show disconnected in the astroprint software/website, the only ways to correct this is to turn off and on my printer, or tell astroprint from the local webpage to connect, cancel the connect, and tell it to connect again. I thought it may have been an issue with the version of astroprint I was on as I hadn’t updated in a long while, so I flashed the latest image as of last week to my astrobox gateway (rpi 4 model b 8gb) to no avail, it is still doing this with the latest image.
I’m using a flash forge creator pro

This looks to me like the printer is disconnecting for some reason. You can access the logs from settings now, take a look to see if you see some error.