On the reliability of spacecraft swarms