Some wifi hotspots will disconnect you requiring re-authentication after some time / traffic. Scrip to automatically reconnect so you don't have to do it by hand.