We've all been sitting there (indefinitely) waiting for a light to turn. Sometimes, it never will until a car comes along to trigger the sensor. And sometimes, when you're out in the boonies, this could be a LONG time.
What is your time limit? Given the above situation, is it legal to run the light after an excessive amount of time?