Handle kqueue EV_ERROR.