Fix sleep loop when turning off inventory management.