Try with a clean fresh mIRC downloaded from this site, so no scripts. If it still happens then, it's probably something else, if it doesn't happen then, you should check your loaded scripts. Using a badly written dll or something might give you those hangs, and if the dll cannot unload properly it might even affect your system afterwards...