I find the same thing - it works but then every now and then the
connection hangs. By adding some debug statements to the script (to dump
various diagnostics to a log file), I was able to confirm that the times
when the connection hangs are indeed wh...