Socket error should not exit the app
XML white space pedantry