client: use uv_try_write()