handling the list of available hosts, defensive code around the broker and publishers going on/offline