fix panic in RegisterHealthCheck when stopping serviced
Merge pull request #1016 from control-center/feature/fix-healthlog-panic

fix panic in RegisterHealthCheck when stopping serviced
allow attaching with matching suffix of running service path