quit after IOException, otherwise lots of errors