You can only close the status window for a connection that has been disconnected (irrelevant as to the reason for the disconnection), if there is more than one status window open. mIRC requires a status window to be open, even if there isn't an active connection for that window.