Open the Control Panel and double click on Internet Options.
Click the Connections tab, highlight your dialup connection and click the Settings button.
Click the Advanced button in the Dial-up Settings section of the screen.
Tick Disconnect if idle for X minutes.
OK your way out. The new settings should take effect the next time you connect.