Fixed bug related to winrm session exit code