If a tevent fd event only has writable flag, and there's a socket
error returned by kevent, we strip the writable flag and skip the handler
(normal libtevent behavior). Since this the flag has been stripped
and the kevent filter removed, explicitly set is_fd_event to false
to ensure that the event handler is skipped.