I'm of a mind to have my programdisconnect on virtually any error message from the TWS and then reconnect.