Fixed the scheme for metrics so they send the sensu client name instead of hostname and a corner case for restarted workflows.