relay: fix quit reasons