Rescue from disconnects during idle, and reconnect
Raise/exit on any other error
Resolves #11 and #12
Merge pull request #14 from tpitale/idle-disconnect

Rescue from disconnects during idle, and reconnect