My cnc starts cutting but then it gets disconnected from my computer, why?

I’m on a 4 and it has continued before when it disconnected but sometimes it just seems to still stop