I notice that you mention two pieces of software in your message. Both IB Gateway, and IBC (IB Controller). Which of these is causing the problem for you?
I am running IB Gateway 10.31.1j together with IBC version 3.20.0 and have not experienced any issue with this combination. I log on on Sunday evening and then let it run until the next Saturday morning.