Auto restart will work for the disconnect at night, but in my experience the IB Gateway also shuts down completely any Sunday. It must then be manually restarted.