Updated flag for socket err handling