AIM is just sluggish sometimes. There are a LOT of AIM clients, so it may just be an overextended server or something. I have this problem both with my bots and with my own AIM connection from time to time. Set your HAL to automatically try to reconnect, and just let it take its time. Pressing the issue just increases the amount of time it will take before you can successfully connect.