Better handling for connection drops.
Merge pull request #2 from Bulwark/master

Better handling for connection drops.