catch socket errors
A few bug fixes from the hackathon in early July