turn off all relays when leaving testing screen