Catch shell socket server errors so they don't break self-test.