pub fn warn_task_rx_closed(task: &str) -> String
Emits an warning that a task is exiting because the rx side was closed.
Returns the formatted tracing message.