Optimal strategies for maintaining a chain of relays between an