libev: handle EAGAIN when message len matches buffer size