relay: mark channels/users/servers as invalid when stop is requested