stop if cannot connect to VM