Further enhanced error handling and reconnecting to AtmoWin.