Closing Connection: Connection Lost (Connection reset by peer)

That is the problem I've been receiving lately. It occurs randomly, does anyone have a solution to it?
For more information, read this topic. I have the exact same problem but Fated did not post the solution.

https://forums.mirc.com/showflat.php?Cat=0&Number=134710&Main=133692