If I lose my internet connection, it seems to, in effect, press CTRL-s on the remote terminal window.  This is most frustrating as I will frequently leave a process running over night only to discover in the morning that it has paused execution.

Is there anyway to prevent this from happening?