Print stops midprint


Hello! I have a question: my printer is like 50% of time stopping midprint with the toolhead in place of print, like it had a power down. When I try to connect to FS, it can’t find it. I have to restart the printer and thus losing all progress with the print. Anyone having this issue? What could lead to it?