Set exit code 1 if wsman request fails (fixes issue #2)