@task awaited inside StateGraph node returns None under astream_events
When a @task is awaited inside a StateGraph node, invoking the graph with astream_events (or stream_mode=events) returns None for the task's result instead of the actual value. The same graph works correctly under ainvoke and astream. The root cause is that arun_with_retry drains the task stream but discards the RETURN channel write, so the freshly scheduled task future resolves to None.
