New in Tokio-util 0.7.10 is a struct called TaskTracker seen here: https://github.com/tokio-rs/tokio/pull/6033 explore using that