services/relay: Make relay a bit more robust