Connection problems

It's tired of being treated badly and is just doing it for attention.

Or your router could be failing, it's too far away from the router and the signal is weak, lots of interference in the area, really quite a number of things.

Try updating the router firmware and the wifi card drivers on the laptop.