You are increasing your risk when you do this, and probably reaching a short outcome. Frying, or at least sauteing, is not baking. It can be as active an activity as you want it to be. If you're letting that many onions sit for that long without rearranging, you probably have either too much on the pan or you're cooking unevenly. Not to mention that, if your other task goes slower than expected, or you are interrupted, you get burned onions or other timing mistakes.
Another good software example is having slack. If you're always busy, you may not be working on the right things.
Another good software example is having slack. If you're always busy, you may not be working on the right things.