Try pasting these two lines of code into your remotes (alt+r > remote tab)

Code:

on *:START:.timerAnti-10053 -o 0 60 scon -at1 raw -q ping Anti-10053
on ^*:PONG:if ($2 == Anti-10053) haltdef



Also, undo what I told you before...
mirc options (alt+o) > connect > options > de-select check for timed out connection

~ Edit ~
Restart mIRC to activate that code.