Best trick I learned in the past few years is SSH control sequences.
Disconnected from your host but not timed out yet? Press Enter, ~, . and the client will quit.
Disconnected from your host but not timed out yet? Press Enter, ~, . and the client will quit.