resetting time-delay switch