Automatic off at relays