The Linux screen tool can not only save you from disconnection disasters, but it also can increase your productivity by using multiple windows within one SSH session.
Install Screen
yum install screen
Common screen commands:
screen -S sessionname - assign session name
screen -ls - list active screens
screen -r sessionname - reconnect to screen session
Ctrl-A-D - detach from screen session