drop use of older stats API, could cause a deadlock