correct the winrm configuration

also try to manage the async tasks