Why was this moved until after the shutdown_sem acquisition?