Fix crash which occurs when etcd cannot be reached.
Wait 5s between etcd connection attempts.