you probably want to `ev_io_stop(loop, &ps->ev_w_clear);` here too.