task engine fix for failure in winrm connection for second connection to same server, fixes #281