Bugfix: Get total_staged with lock for TS stat, before getting console lock