Fix crash on concurrent stat requests