This is very likely 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. Unfortunately the only solution to get around this pause, at least currently, would be to disable UPnP. However, this might prevent a number of features from working correctly, such as the Identd server, DCC transfers, and so on.