change assert to make EV_ERROR a valid event on an io watcher