I have encountered this issue too. Sometimes, the internet suddenly disconnects itself but the wifi is still connecting. I need to disconnect from that particular wifi and reconnect to it again in order to fix it. It's pretty annoying. I want a permanent solution to this problem.