Currently KViIrc has no clue that the connection has long gone on wake up from sleep/suspend. Ideally it should time out in a reasonable amount of time, say 180 seconds and reconnect.
Currently it just pretends nothing's going on and stays like that indefinitely.
I found #637 but it's a feature request. I think it could be satisfied as well if timeout is properly implemented to detect such situations.
p.s. Even when I press disconnect it says it sent QUIT and waits for the server to close the connection.