relay: cleanup