A simple change in my Wi-Fi setting fixed the issue, and the connection has been consistent ever since.