set errno so server doesn't die