What connection software/router are you using? It sounds like whatever it is, it's detecting lack of activity (or something) and automatically disconnecting you. There's bound to be a control in the software, and there is certainly a control in a router, to keep your connection alive.