Ensuring puppet agent service is stopped