Can't count how often this comes up here at ET. Its always the same. People with lousy internet connections should not trade through IB.
I use TWS regularly from two locations. One is at work, behind a firewall, with a lousy connection and that is where TWS disconnects/reconnects about every 20 minutes.
The other connection is a good one via DSL from home. I can't remember when TWS needed to disconnect/reconnect there.