catch socket errors