Install 'Alarmed' it will let you run a script/command using a cron like specification without installing any new junk to run in the background. So set a job that runs once every 3 hours to connect. Then either use 'auto disconnect' program or set another job to run every 3 hours to disconnect. Easy!