if shutting down due to error, set disp->shutdown_why to the appropriate result code, not to ISC_R_EOF