Made some tweaks to winrm to get it working with timeouts