socket err handling