improved handlign of failed docker host connections