Relay circuits using discharge tubes or semiconductor devices {with retiming for synchronous signals}