Generally, I have found that to happen because of a drop in voltage, brown out, to the router and why I have my router and modem are plugged into a UPS [ uninterruptible power supply ].
It does not...