From what I'm reading on here the only time people would say yes is due to buff's expiring and mines depleting. So why not have 2 global options
1st ) Stop production when buff expires
2nd) Stop production before exhaustion
Both options (settings) would be in effect at all times