unix: remove loop->last_err
windows: remove loop->last_err