improve error handling when communicating with remote nodes

improve failure logging when communicating with windows nodes