This could be related to UPnP which is enabled by default in mIRC. Some routers handle UPnP in a way that may cause an application to pause while the router is replying. If you disable UPnP in mIRC Options->Connect->Options->Ports does that help?