My shul has arranged that the cross-walk signals in front of the shul are automated on Shabbos so no one has to push a button to get a walk signal. This can be annoying for non-Jewish drivers who must wait an extra 45 seconds even if no one is crossing. Since I can get to shul without violating jay-walking laws, am I required to wait for the light under the concept of dina d'malchuso dina, or can I cross when I think it is safe? If so, what factors should I consider (e.g. setting a bad example for children)?