Fix infinite priority bug in mesecon:turnoff, thanks to Novatux