test_stats_client is now async