Fix typo, add logging if host not found/connected.

Fix typo, add logging if host not found/connected.