Machine loses connection to the domain after updating an agent