Heater keeps failing and forcing a power cycle

This keeps happening randomly mid print. Today I made it 50 minutes into the print, and then all of a sudden it uploaded the filament. When you try to put it in, it try to head up, but you can watch the temperature just go down. I have also noticed the temperature going to 201 and 202 at some points, not sure if this has to do anything with it.

When it does this it forces me to scrap what it just spent a while making, and I have to restart or just give up.