IMSGEV_EWRITE
imsgbuf_queuelen(&iev->ibuf) > 0 ? IMSGEV_EWRITE :
imsgev_disconnect(iev, IMSGEV_EWRITE);
case IMSGEV_EWRITE: