I often have SSH connections through Terminal that stop responding (like if I've left it overnight) but when I try to use the dead connection Terminal doesn't respond for several minutes until:
Write failed: Broken pipe
Is there a way I can tell bash to immediately disconnect (because I know the connection is dead) without closing/opening a new window?