silently handle socket errors